<%= form_for(:user, :url => {:action => 'signup'}) do |f| %>
	<div class="form_box" style="width: 490px; height: 400px;">
		
		<div class="field_name">
			<div class="tm">
				<p><%= @user.errors[:name][0] %></p>
			</div>
			Tên:
			<%= f.text_field :name, :class => 'text_box' %>
		</div>

		<div class="field_name">
			<div class="tm">
				<p><%= @user.errors[:password][0] %></p>
			</div>
			Mật khẩu:
			<%= f.password_field :password, :class=>'text_box' %>
		</div>

		<div class="field_name">
			<div class="tm">
				<p><%= @user.errors[:password_confirmation][0] %></p>
			</div>
			Nhập lại mật khẩu:
			<%= f.password_field :password_confirmation, :class=>'text_box' %>
		</div>

		<div class="field_name">

			<div class="tm">
				<p><%= @user.errors[:email][0] %></p>
			</div>
			Email:
			<%= f.text_field :email, :class=>'text_box' %>
		</div>

		<div class="field_name">
			<div class="tm">
				<p><%= @user.errors[:phone][0] %></p>
			</div>
			Số điện thoại:
			<%= f.text_field :phone, :class=>'text_box' %>
		</div>

		
		<div class="field_name">
			<div class="tm">
				<p><%= @user.errors[:address][0] %></p>
			</div>
			Địa chỉ:
			<%= f.text_field :address, :class=>'text_box' %>
		</div>

		<div>
		<div class="pad_top"></div>
		<%= submit_tag "Create Subject", :class=>'submit_button' %></div>

	</div>
	<% end %>